//
//  MoyaViewController.swift
//  SwiftStudy3.0
//
//  Created by mal on 2017/2/23.
//  Copyright © 2017年 maliang. All rights reserved.
//

import UIKit

enum MyService {
    case zen
    case showUser(id: Int)
    case createUser(firstName: String, lastName: String)
    case updateUser(id:Int, firstName: String, lastName: String)
    case showAccounts
}

class MoyaViewController: MMenuItem {

    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    
    override class func menuitem() -> MMenuItem?{
        
        return MoyaViewController.init(nibName: nil, bundle: nil)
    }

}
